<template>
    <div class="form_wrap">
        <div>
            <slot></slot>
        </div>
        <div class="submit">
<!--            <el-divider/>-->
            <div class="text_center">
                <el-button type="primary" @click="submit">确认</el-button>
            </div>
        </div>
    </div>

</template>

<script setup lang="ts">
const emits = defineEmits(['submit'])
const submit = () => {
    emits("submit")
}
</script>

<style scoped>
.form_wrap{
    box-sizing: border-box;
    padding-bottom: 90px;
}
.submit{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    background-color: #FFFFFF;
}
</style>
